angular.module(moduleName + '.directives')
.directive('hrFilterPickerBar', function($rootScope) {
    return {
        restrict: 'E', //element标签方式显示
        templateUrl: "hr-filter-picker/hr-filter-picker-bar.html", //设置指令对应的html代码
        transclude: true,
        replace: true,
        controller:  function(){
            var vm = this;
            vm.isShowBackdrop = false;
            vm.showBackdrop = function(){
                vm.isShowBackdrop = true;
            }
            vm.closeBackdrop = function(){
                vm.isShowBackdrop = false;
                $rootScope.$emit('closeShowBackdrop');
            }
        },
        controllerAs:'vm',
        link:function(scope,ele,attr){

        }
    };
});
